<?php
 
namespace App\Http\Controllers;

use App\Http\Controllers\BaseController;
use App\Services\MeetHourService;
use Illuminate\Http\Request;
 
class MeetHourController extends BaseController
{
    public function __construct(MeetHourService $meetHourService) 
    {
        $this->meetHourService = $meetHourService;
    }

    public function index()
    {
        $param = [];
        $data = $this->meetHourService->getList($param);
        
        return $this->response->success($data);
    }

    public function show(Request $request)
    {
        $id = $request->input('id');
        $result = $this->meetHourService->getInfo($id);
 
        return $this->response->success($result);
    }
 
    
}